﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace RescueRaiders
{
    namespace Particles
    {
        class ExplosionSmokeParticleSystem : ParticleSystem
        {
            public ExplosionSmokeParticleSystem(Game1 game,
                int howManyEffects, string textureFileName) :
                base(game, howManyEffects, textureFileName)
            {
            }

            protected override void InitializeConstats()
            {
                minInitialSpeed = 2;
                maxInitialSpeed = 20;

                minAcceleration = -10;
                maxAcceleration = -50;

                minLifeTime = 1.0f;
                maxLifeTime = 2.5f;

                minScale = 0.03f;
                maxScale = 0.1f;

                minNumParticles = 10;
                maxNumParticles = 20;

                minRotationSpeed = -MathHelper.PiOver4;
                maxRotationSpeed = MathHelper.PiOver4;

                spriteBlendMode = SpriteBlendMode.AlphaBlend;

                DrawOrder = AlphaBlendDrawOrder;


            }
        }
    }
}
